package io.fivefire.base.common.enums;

public enum ResponseCodeAdminEnum {
    SUCCESS("100", "接口调用成功"),
    FAIL("101", "接口调用失败"),
    PARAM_INVALID("103", "参数非法"),
    EXCEPTION("104", "接口出现异常"),
    NOTEXIST("105", "查询的对象不存在"),
    UPDATE_ERROR("106", "更新失败"),
    UPDATE_SUCCESS("107", "更新成功"),
    CATEGORY_DELETE_ERROR("100101", "该类别存在子类不能删除"),
    CATEGORY_NOTEXIST("100102", "你所查看的类目在系统中不存在"),
    CATEGORY_LABEL_ERROR("100103", "该标签存在子类不能删除"),
    CATEGORY_ADD_SUCCESS("100204", "类目添加成功"),
    CATEGORY_EDIR_SUCCESS("100205", "类目编辑成功"),
    CATEGORY_DELETE_SUCCESS("100206", "类目删除成功"),
    ORDERAUDIT_ERROR("100201", "订单审核失败"),
    ORDERAUDIT_SUCCESS("100202", "订单审核成功"),
    ORDER_FINESHED("100203", "订单已完成，不能审核退款"),
    BROKERAGE_ORDERAUDIT_ERROR("100301", "佣金订单审核失败"),
    BROKERAGE_BATCH_ORDERAUDIT_ERROR("100302", "待结算的订单包含已经结算的订单"),
    BROKERAGE_ORDERAUDIT_SUCCESS("100303", "佣金订单审核成功"),
    BROKERAGE_BALANCE_ORDERAUDIT_ERROR("100305", "待结算的订单包含已经结算的订单"),
    BROKERAGE_BALANCE_AUDIT_ERROR("100304", "佣金结算订单审核失败"),
    USER_NOEXIST_ERROR("100401", "用户不存在"),
    ADVERT_POSITION_ADD_SUCCESS("100501", "添加成功"),
    ADVERT_POSITION_UPDATE_SUCCESS("100502", "更新成功");

    private String code;
    private String content;

    private ResponseCodeAdminEnum(String code, String content) {
        this.code = code;
        this.content = content;
    }

    public String getCode() {
        return this.code;
    }

    public String getContent() {
        return this.content;
    }
}
